package com.xuecheng.media.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 媒资类型枚举类
 *
 * @author itcast
 */
@Getter
@AllArgsConstructor
public enum MediaTypeEnum {
    IMAGE("001001", "图片"),
    VIDEO("001002", "视频"),
    OTHER("001003", "其它");

    /**
     * 编码
     */
    private final String code;

    /**
     * 描述
     */
    private final String desc;
}
